//
//  PongField.h
//
//  Created by Jonathan Saggau on 2007-08-09.
//  Copyright (c) 2007 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>

@interface PongField : NSObject
{
	NSRect fieldRect;
	NSPoint leftFinger;
	NSPoint rightFinger;
	NSRect leftPaddle;
	NSRect rightPaddle;
	int leftScore;
	int rightScore;
	NSRect ballRect;
}

-(id)initWithFieldRect:(NSRect)aFieldRect;

-(void)drawInRect:(NSRect)aRect;


//accessors
- (NSRect)fieldRect;
- (void)setFieldRect:(NSRect)aFieldRect;
- (NSPoint)leftFinger;
- (void)setLeftFinger:(NSPoint)aLeftFinger;
- (NSPoint)rightFinger;
- (void)setRightFinger:(NSPoint)aRightFinger;
- (NSRect)leftPaddle;
- (void)setLeftPaddle:(NSRect)aLeftPaddle;
- (NSRect)rightPaddle;
- (void)setRightPaddle:(NSRect)aRightPaddle;
- (int)leftScore;
- (void)setLeftScore:(int)aLeftScore;
- (int)rightScore;
- (void)setRightScore:(int)aRightScore;
- (NSRect)ballRect;
- (void)setBallRect:(NSRect)aBallRect;

@end
